/****** Object:  Stored Procedure dbo.spr_LoadAllDBDriverss  ******/

 use [TourIS]
 GO

 if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[spr_LoadAllDBDriverss]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
 drop procedure [dbo].[spr_LoadAllDBDriverss]
 GO

 SET QUOTED_IDENTIFIER OFF
 GO
 SET ANSI_NULLS OFF
 GO

 CREATE  PROCEDURE [dbo].[spr_LoadAllDBDriverss]
 AS

 BEGIN
	SET NOCOUNT ON
	DECLARE @Err int

	SELECT
		[CompId],
		[DOB],
		[DriverId],
		[DriverName],
		[FatherName],
		[HourPerWeek],
		[Is3rdParty],
		[IsActive],
		[LicExpiry],
		[LicId],
		[LicPointsLeft],
		[NICNo],
		[PassportNo],
		[VisaExpiry],
		[VisaId],
		[WagePerHour]
		FROM [Drivers]

	SET @Err = @@Error
	RETURN @Err
 END

 GO

 SET QUOTED_IDENTIFIER OFF
 GO
 SET ANSI_NULLS ON
 GO

